<%@page import="java.util.Random"%>
<%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="utf-8"%>
<html>
	<head>
	    <link href="${contextPath}/css/animate.css" rel="stylesheet"/>
	    <link href="${contextPath}/css/bootstrap.min.css" rel="stylesheet"/>
		<link href="${contextPath}/css/bootstrap-dialog.min.css" rel="stylesheet"/>
   		<link href="${contextPath}/font-awesome/css/font-awesome.css" rel="stylesheet"/>
   		<link href="${contextPath}/css/plugins/jsTree/style.min.css" rel="stylesheet"/>
   		<link href="${contextPath}/css/plugins/dataTables/datatables.min.css"	 rel="stylesheet"/>  	
   		<link href="${contextPath}/css/plugins/chosen/chosen.css" rel="stylesheet"/>
   		<link href="${contextPath}/css/style.css" rel="stylesheet"/>
   		<link href="${contextPath}/css/app.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/datapicker/datepicker3.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/month-picker/monthPicker.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/jsTree/style.min.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/datetimepicker/datetimepicker.css" rel="stylesheet">
    	<link href="${contextPath}/css/plugins/toastr/toastr.min.css"	 rel="stylesheet">
    	<link href="${contextPath}/css/plugins/switch/bootstrap-switch.min.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/fileinput/fileinput.min.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/iCheck/custom.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/taginputs/jquery.tagsinput.css" rel="stylesheet"/>
    	<link href="${contextPath}/css/plugins/c3/c3.min.css" rel="stylesheet"/>
	    <link href="${contextPath}/css/plugins/ladda/ladda-themeless.min.css" rel="stylesheet">
	    <link href="${contextPath}/css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
    	    	
		<script src="${contextPath}/js/jquery-2.1.1.js"></script>
		<script src="${contextPath}/js/jquery-ui-1.10.4.min.js"></</script>
		<script src="${contextPath}/js/bootstrap.min.js"></script>
		<script src="${contextPath}/js/bootstrap-dialog.min.js"></script>
    	<script src="${contextPath}/js/plugins/chosen/chosen.jquery.js"></script>
    	<script src="${contextPath}/js/plugins/validation/jquery.validate.min.js"></script>
        <script src="${contextPath}/js/plugins/validation/localization/messages_zh.js"></script>
    	<script src="${contextPath}/js/plugins/datapicker/bootstrap-datepicker.js"></script>
    	<script src="${contextPath}/js/plugins/month-picker/monthPicker.js"></script>
    	<script src="${contextPath}/js/plugins/jsTree/jstree.min.js"></script>	
		<script src="${contextPath}/js/plugins/datetimepicker/bootstrap-datetimepicker.min.js"></script>
		<script src="${contextPath}/js/plugins/moment/moment.min.js"></script>
		<script src="${contextPath}/js/plugins/toastr/toastr.min.js"></script>
	   	<script src="${contextPath}/js/plugins/switch/bootstrap-switch.min.js"></script>
	   	<script src="${contextPath}/js/plugins/fileinput/fileinput.min.js"></script>
	   	<script src="${contextPath}/js/plugins/iCheck/icheck.min.js"></script>
	   	<script src="${contextPath}/js/plugins/taginputs/jquery.tagsinput.js"></script>
	   	<script src="${contextPath}/js/plugins/d3/d3.min.js"></script>
	   	<script src="${contextPath}/js/plugins/c3/c3.min.js"></script>
	   	<script src="${contextPath}/js/plugins/ladda/spin.min.js"></script>
    	<script src="${contextPath}/js/plugins/ladda/ladda.min.js"></script>
    	<script src="${contextPath}/js/plugins/ladda/ladda.jquery.min.js"></script>
    	<script src="${contextPath}/js/plugins/blueimp/jquery.blueimp-gallery.min.js"></script>
	   		   	
       <script src="${contextPath}/js/vue.js"></script>	
       <script src="${contextPath}/webui/webui.js"></script>		
       <script src="${contextPath}/js/app.js"></script>
       <script type="text/javascript">
			var contextPath = '${contextPath}';
			var cmsPicPath = '${cmsPicPath}';
			var cmsTemplatePath = '${cmsTemplatePath}';
       </script>
	</head>
	
	<%
		Random rm = new Random();  
	    double pross = (1 + rm.nextDouble()) * Math.pow(10, 6);  
	    String fixLenthString = String.valueOf(pross);  
	    request.setAttribute("randomId", "pageRender"+fixLenthString.substring(1, 6 + 1));
	%>
	<body style="background-color:#f3f3f4 ">
		<div id="blueimp-gallery" class="blueimp-gallery" style="display: none;">
		    <div class="slides" style="width:98352px;"></div>
		    <h3 class="title"></h3>
		    <a class="prev">‹</a>
		    <a class="next">›</a>
		    <a class="close">×</a>
		</div>
		<div id="${randomId}" style="padding:0 10px">
			<div class="row">
				<sitemesh:write property="body" />	
			</div>
		</div>
	</body>
</html>